<template>
  <column :options="options" v-model:reduced="columns" />
</template>
<script setup>
import { ref } from 'vue'
import column from '@/components/icon-column-select/icon-column-select.vue'
import { useColumns } from './provide-context.js'
let columns = useColumns()
let options = ref([
  {
    title: '名称',
    dataIndex: 'tagName',
    key: 'tagName',
    fixed: 'left',
    width: 250,
  },
  {
    title: '类别',
    dataIndex: 'type',
    key: 'type',
  },
  {
    title: '发布状态',
    dataIndex: 'isPublished',
    key: 'isPublished',
  },
  {
    dataIndex: 'drag',
    key: 'drag',
  },
  {
    title: '操作',
    dataIndex: 'operation',
    key: 'operation',
    fixed: 'right',
    width: 220,
  },
])
</script>
